package de.baumann.browser.present

import de.baumann.browser.api.OdinObserver
import de.baumann.browser.api.net.vo.gg.GGMain
import de.baumann.browser.base.BasePresenter
import de.baumann.browser.iview.IWalletDetailView
import de.baumann.browser.model.prepositionByAddress

class WalletDetailPresenter : BasePresenter<IWalletDetailView>() {
    fun getSmelteryData() {
        prepositionByAddress(view!!.getAddress())
                .subscribe(object : OdinObserver<GGMain>(view) {
                    override fun onSuccess(data: GGMain?) {

                    }
                })
    }
}